package club.easin.oneTest.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import club.easin.oneTest.bean.Person;
import club.easin.oneTest.dao.PersonRepository;
import club.easin.oneTest.service.PersonService;

@Service
public class PersonServiceImpl implements PersonService{
	
	@Autowired
	private PersonRepository personRepository;

	@Override
	public Person getPerson() {
		// TODO Auto-generated method stub
		return this.personRepository.getPerson();
	}

}
